<template>
	<div>
		<h1>4444 fourth routers {{ message }}  !!</h1>
		<input type="text" v-model="message">
		<div class="users" v-for="user in users">
			<h4>{{ user.name }}</h4>
			<button @click="registerUser(user)">注册</button>
		</div>
	</div>
	
</template>

<script>
  export default {
	  props: ['msg'],
	  computed:{
		  users () {
			  return this.$store.state.users;

		  }
	  },
	  data() {
	     return {
		     message: 'is that right',
	     }

	  }
  }
</script>
